<template>
  <div style="width:100%">
    <div style="width:100%">
      <el-tabs v-model="activename" @tab-click="handleClick">
        <el-tab-pane label="已领取" name="first">
          <div style="display:flex;flex-warp:warp">
            <div style="width:30%">
              <coupons />
            </div>
          </div>
        </el-tab-pane>
        <el-tab-pane label="待领取" name="second"></el-tab-pane>
        <el-tab-pane label="已使用" name="third"></el-tab-pane>
        <el-tab-pane label="已过期" name="fouth"></el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>
<script>
import coupons from "../components/coupons";
export default {
  data() {
    return {
      activename: "first"
    };
  },
  components: {
    coupons
  },
  methods: {
    handleClick(tab, event) {
    }
  }
};
</script>